phpseclib3\Math\BigInteger\Engines\PHP D

Total Complexity 172
Dependencies 5
Dependents 0
Total lines 1,289
Lines of code 700
Logical lines of code 483
Comment lines 364
Methods 38
Properties 0

Methods 38

Method Rating Maintainability Complexity Lines of code
divideHelper()
B
33 18 106
subtractHelper()
B
40 16 60
addHelper()
A
40 14 60
bitwise_split()
A
41 11 55
compareHelper()
A
55 10 18
bitwise_small_split()
A
48 8 33
regularMultiply()
A
51 8 25
testSmallPrimes()
S
55 7 19
initialize()
S
51 6 25
toString()
S
52 6 23
lshift()
S
54 6 20
baseSquare()
S
54 6 19
toBytes()
S
59 5 13
normalize()
S
55 4 19
rshift()
S
55 4 19
multiplyHelper()
S
57 4 16
scan1divide()
S
58 4 14
powHelper()
S
63 3 11
karatsuba()
S
53 2 22
karatsubaSquare()
S
54 2 19
__construct()
S
64 3 10
trim()
S
65 3 9
array_repeat()
S
77 2 3
divide_digit()
S
62 2 10
powModInner()
S
66 2 8
square()
S
72 2 5
testBit()
S
65 2 8
safe_divide()
S
70 2 6
pad()
S
71 1 5
negate()
S
73 1 5
isNegative()
S
82 1 3
convertToObj()
S
70 1 6
isOdd()
S
78 1 3
int2bytes()
S
77 1 3
make_odd()
S
80 1 3
abs()
S
74 1 5
bitwise_rightShift()
S
71 1 6
bitwise_leftShift()
S
71 1 6